home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>11</cardCount>
- <cardID>5687</cardID>
- <listID>2450</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>544</width>
- <height>400</height>
- </cardSize>
- <script>on wClose wName
- if movieChanged of window wName then
- answer "Do you want to save changes to the movie" ¬
- && wName & "?" with "Don't Save" or "Save"
- if it = "Save" then send saveChanges to window wName
- end if
- end wClose
-
- on buildPopUp
- global EditStackmenuItems
- put empty into EditStackmenuItems
- repeat with i = 1 to the number of cards
- get the short name of card i
- put it & "," after EditStackmenuItems
- end repeat
-
- delete last char of EditStackmenuItems -- the last comma
-
- end buildPopUp
-
- on GoCard
- global EditStackmenuItems
-
- get PopUpMenu (EditStackmenuItems, 0, bottom of the target, left of the target+1)
-
- if it > 0 then
- go card it --of this bg
- end if
- end GoCard
-
- function ExtractFileName FileName
- put ":" into Delimiter
- if Delimiter is in FileName then
- repeat with CharPos = length(FileName) down to 1
- if char CharPos of FileName = Delimiter
- then return char CharPos+1 to length(FileName) of FileName
- end repeat
- return empty
- else
- return FileName
- end if
- end ExtractFileName
-
- function ExtractPathName FileName
- put ":" into Delimiter
- repeat with CharPos = length(FileName) down to 1
- if char CharPos of FileName = Delimiter
- then return char 1 to CharPos of FileName
- end repeat
- return empty
- end ExtractPathName
-
- on newCard
- buildPopUp
- end newCard
-
- on openStack
- put empty into foo
- QTEditMovie version
- put the result into v
- put "QTEditMovie: " & v into line 1 of foo
-
- put foo into cd field versions of card 1
-
- buildPopUp
- end OpenStack
-
- on closeStack
- global currwindow
- if there is a window currwindow then
- close window currwindow
- end if
- end closeStack
-
-
- function ActiveMovieWindow
- global currwindow,currwindow2
- get the windows
- put empty into theWindow
- repeat with i = 1 to the number of lines in it
- if line i of it = currwindow or line i of it = currwindow2 then
- put line i of it into theWindow
- exit repeat
- end if
- end repeat
- return theWindow
- end ActiveMovieWindow
-
- on primeStack
- repeat with i = 1 to the number of cards
- go card i
- send primeCard to card i
- end repeat
-
- go first card
- end primeStack
-
- on primeCard
- if there is a field filename then
- put "Your Volume:Your Folder:Your File" into field filename
- end if
- if there is a cd field "help text" then
- set lockText of cd field "help text" to true
- hide cd field "help text"
- end if
- end primeCard
- </script>
- <background id="2772" file="background_2772.xml" name="" />
- <background id="5426" file="background_5426.xml" name="" />
- <card id="5687" file="card_5687.xml" marked="false" name="QTEditMovie" owner="5426" />
- <card id="2985" file="card_2985.xml" marked="false" name="Display Tracks" owner="2772" />
- <card id="4005" file="card_4005.xml" marked="false" name="Set Clip Region" owner="2772" />
- <card id="4264" file="card_4264.xml" marked="false" name="Movie and Track Editing" owner="2772" />
- <card id="4439" file="card_4439.xml" marked="false" name="Group Tracks" owner="2772" />
- <card id="5118" file="card_5118.xml" marked="false" name="Set Language" owner="2772" />
- <card id="2226" file="card_2226.xml" marked="false" name="Set Quality" owner="2772" />
- <card id="3776" file="card_3776.xml" marked="false" name="Add Sound Track From Resource" owner="2772" />
- <card id="5196" file="card_5196.xml" marked="false" name="Grab Sound" owner="2772" />
- <card id="7102" file="card_7102.xml" marked="false" name="Flatten Movie" owner="2772" />
- <card id="7312" file="card_7312.xml" marked="false" name="Script Control on Track Selection" owner="2772" />
- </stack>
-